Description
Used for labeling features. A field is specified for labeling all features of a particular layer.
Diagram
Overview
|
SIMPLELABELRENDERER
Used for labeling features. A field is specified for labeling all features of a particular layer.
|
expression optional xs:string
|
|
field optional xs:string
|
|
language optional Restriction of xs:string
The script engine that interprets the expression.
|
|
refscale optional xs:string
Reference scale to display the TRUETYPEMARKERSYMBOL or SIMPLEMARKERSYMBOL at the specified fontsize using a relative scale such as 1:24000. TRUETYPEMARKERSYMBOLs and SIMPLEMARKERSYMBOLs are scaled relative to the refscale as the map is zoomed in or out.
|
|
rotationfield optional xs:string
The field in the table that contains the angle of rotation for a TRUETYPEMARKERSYMBOL.
|
|
rotationtype optional Restriction of xs:string
Three methods of calculating angles are available: 1)"arithmetic", An angle of 0 is east, and angles are calculated counterclockwise from east. 2)"counterclockwise", An angle of 0 is north, and angles are calculated counterclockwise from north. 3)"geographic", An angle of 0 is north, and angles are calculated clockwise from north.
|
|
visible optional Restriction of xs:string
|
|
Sequence
|
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.
|
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
expression | xs:string | optional | | | |
field | xs:string | optional | | | |
language | Restriction of xs:string | optional | VBScript | | The script engine that interprets the expression. |
refscale | xs:string | optional | | | Reference scale to display the TRUETYPEMARKERSYMBOL or SIMPLEMARKERSYMBOL at the specified fontsize using a relative scale such as 1:24000. TRUETYPEMARKERSYMBOLs and SIMPLEMARKERSYMBOLs are scaled relative to the refscale as the map is zoomed in or out. |
rotationfield | xs:string | optional | | | The field in the table that contains the angle of rotation for a TRUETYPEMARKERSYMBOL. |
rotationtype | Restriction of xs:string | optional | | | Three methods of calculating angles are available: 1)"arithmetic", An angle of 0 is east, and angles are calculated counterclockwise from east. 2)"counterclockwise", An angle of 0 is north, and angles are calculated counterclockwise from north. 3)"geographic", An angle of 0 is north, and angles are calculated clockwise from north. |
visible | Restriction of xs:string | optional | false | | |
Examples
Restrictions
- One symbol must be specified. Only one is allowed.
- rotationfield and rotationtype can only be used in point shapefiles.
Source
<xs:element name="SIMPLELABELRENDERER" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used for labeling features. A field is specified for labeling all features of a particular layer.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="TEXTSYMBOL" />
</xs:sequence>
<xs:attribute ref="expression" />
<xs:attribute ref="field">
<xs:annotation>
<xs:documentation>The field in the table that contains text for labeling features.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="language" />
<xs:attribute ref="refscale" />
<xs:attribute ref="rotationfield" use="optional" />
<xs:attribute default="" ref="rotationtype" />
<xs:attribute ref="visible" />
</xs:complexType>
</xs:element>
|
See Also